<?php
/**
 * <pre>
 * <b>RUBIK IT Solution & Development ltd.</b>
 *
 * PROJECT		: HOTSWEETDATES
 * COPYRIGHT	: 2009
 * ------------------------------------------------------
 * 
 * [GENERAL INFO OF THIS FILE] 
 * 
 * </pre>
 * 
 * Created on	:  Mar 20, 2009
 * 
 * @author		minhvn <minhvn@rubik.com.vn>
 * @access		[public/private]
 * @package	[package name]
 *
 */

defined ( '_FW_EXEC' ) or die ( 'Restricted access' );

RCoreImporter::cls( "html.fieldInfo.BasicHtmlFieldInfo" );
RCoreImporter::cls( "html.fieldInfo.SqlComboboxHtmlFieldInfo" );

class AnswerHtmlFieldInfo extends BasicHtmlFieldInfo  {
	/**
	 * Function for geting the html for previewing data
	 *
	 * @return string
	 */
	
	function buildHtmlPreviewData($extAttributes = '', $key=null, $dataType ='S') {
		if (is_integer($this->_value)) {
			return parent::buildHtmlPreviewData($extAttributes, $key, $dataType);
		}
		
//		$info = new SqlComboboxHtmlFieldInfo()
		
		
	}
}
?>